Skip to content

Conversation

@venom1204
Copy link
Contributor

@venom1204 venom1204 commented Feb 10, 2025

closes #6623
in this I

  1. Added Section 4.1 to clarify column name behavior in non-equi joins.
  2. Explained how data.table retains the left (x) column while omitting the right (i) column unless explicitly selected.
  3. Provided SQL user comparisons and examples to demonstrate explicit column selection.
  4. Included nomatch = NULL usage for filtering unmatched rows.

This update enhances clarity and ensures better understanding of non-equi join behavior in data.table.

hi @tdhock @katrinabrock @MichaelChirico can you please review and suggest me if further improvements are required or not.
thank you .

@codecov
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.64%. Comparing base (6d909de) to head (c0f86bf).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6813   +/-   ##
=======================================
  Coverage   98.64%   98.64%           
=======================================
  Files          79       79           
  Lines       14650    14650           
=======================================
  Hits        14452    14452           
  Misses        198      198           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tdhock tdhock self-assigned this Feb 11, 2025
@katrinabrock
Copy link
Contributor

Yes, this adds what I thought was missing from the tutorial. I think it can be communicated a bit more concisely. (I'll make a concrete suggestion. Also, you may consider having your example use the ProductSales, ProductReceived tables that are used throughout the tutorial instead of generating new example tables.

Copy link
Contributor

@katrinabrock katrinabrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hah it seems @tdhock and I were making similar comments at the same time. These are just my suggestions on how to make it more clear an concise. I'm not a maintainer so you don't have to listen to me. :-D

@venom1204
Copy link
Contributor Author

i made the changes as suggested.

@venom1204 venom1204 force-pushed the issue6626 branch 2 times, most recently from 3f484c3 to 63369a1 Compare February 11, 2025 11:02
@venom1204 venom1204 requested a review from tdhock February 14, 2025 13:20
Copy link
Member

@tdhock tdhock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revise backticks

@venom1204 venom1204 requested a review from tdhock February 14, 2025 19:34
@venom1204
Copy link
Contributor Author

venom1204 commented Feb 14, 2025

"I've updated the section by removing backticks from non-code parts as suggested. However, I've retained them where necessary, such as around data.table, column names like A in A >= B, and function names to maintain clarity and consistency."

@tdhock can you please review ths and suggest any changes if required

Copy link
Contributor

@katrinabrock katrinabrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I didn't compile to make sure the rmd syntax is working.

Also, I still think it's a good idea to use a more realisitic/less abstract dataset for the examples, but fine as is.

Again, though, I'm not a maintainer so my approval is not so important.

Copy link
Member

@MichaelChirico MichaelChirico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! One last round of revisions should do it I think.

@venom1204
Copy link
Contributor Author

Thanks! One last round of revisions should do it I think.

@MichaelChirico Done! Kindly have a look when you have time.

Copy link
Member

@MichaelChirico MichaelChirico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, thank you!

@MichaelChirico
Copy link
Member

Be sure to check the comparison from the initial PR commit till now as material for review & future improvement :)

43b8bcb...c0f86bf#diff-4842b9a4870c362deab64182bd9e511b2f057db49e7169b21a37024a09ef4700

@MichaelChirico MichaelChirico merged commit 5a04ba8 into Rdatatable:master Feb 25, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc fix? Clarify behavior of unequal joins/on binary operators

4 participants